import httpRequest from "@/api/index.js"

// get封装
export const $ajaxGet = (url, params) => {
    return httpRequest.request({
        method: "get",
        url,
        params
    })
}

// post封装
export const $ajaxPost = (url, data) => {
    return httpRequest.request({
        method: "post",
        url,
        data
    })
}